package org.yefei.homeworkday15.five;

public class CarTestingCenter {
	private long phoneNum;
	private String address;

	public CarTestingCenter(long phoneNum, String address) {
		this.phoneNum = phoneNum;
		this.address = address;
	}

	public long getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(long phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String testing(Car car, String result) {
	System.out.println("开始检测。。。");
		System.out.println("车牌号为： " + car.getcNum() + " 的" + car.getColor() + car.getBrand() + "轿车开始测试");
	car.start();
	car.addSpees();
	car.brake();
	
	return car.getBrand()+"小轿车"+result;
}
}
